package com.tarena.youlu.biz;


import android.content.Context;
import android.os.Bundle;

import com.tarena.youlu.listener.OnLoadSmsesFinishListener;
import com.tarena.youlu.util.YouluUtil;

public class SmsBiz {
	Context context;

	public SmsBiz(Context context) {
		super();
		this.context = context;
	}

	public void asyncGetAllSmses(int thread_id,
			OnLoadSmsesFinishListener listener) {
		YouluUtil.asyncGetAllSmses(context,thread_id,listener);
	}

	public void sendSms(String number, String content) {
		YouluUtil.sendSms(context,number,content);
	}

	public void saveSendSms(long date, String body, String number, int thread_id) {
		YouluUtil.saveSendSms(context,date,body,number,thread_id);
		
	}

	public void receiveSms(Bundle extras, int thread_id) {
		YouluUtil.receiveSms(context,extras,thread_id);
		
	}

	public String getReceiveNumber(Bundle extras) {
		return YouluUtil.getReceiveNumber(extras);
	}

	
}
